package com.albaba.designpattern.factory.text_003.entity;

/**
 * @Description: 打折券响应信息封装实体类
 * @Author zx
 * @Date 2025/2/19 10:33
 * @Version 1.0
 */
public class ResponseResult {

    // 状态码
    private String status;

    // 信息
    private String message;

    // 数据
    private Object data;




    public ResponseResult(String status, String message, Object data) {
        this.status = status;
        this.message = message;
        this.data = data;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "ResponseResult{" +
                "status='" + status + '\'' +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }
}
